package com.example.myapplication.mroom.pojo;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "student_room")
public class StudentRoom {
    @PrimaryKey(autoGenerate = true)
    private Integer id;
    private String name;

    public StudentRoom(){}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "StudentRoom{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
